import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SAmuletCrossToplistInfo
    
    export  class SAmuletCrossToplistInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeLong(this.id);
            arg1.writeInt(this.version);
            arg1.writeInt(this.type);
            arg1.writeInt(this.serverId);
            arg1.writeInt(this.proxyId);
            arg1.writeInt(this.rank);
            arg1.writeInt(this.playerId);
            arg1.writeString(this.name);
            arg1.writeString(this.uid);
            arg1.writeInt(this.itemCode);
            arg1.writeInt(this.score);
            arg1.writeString(this.jsStr);
            arg1.writeDate(this.createDt);
            arg1.writeDate(this.itemCreateDt);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.id = arg1.readLong();
            this.version = arg1.readInt();
            this.type = arg1.readInt();
            this.serverId = arg1.readInt();
            this.proxyId = arg1.readInt();
            this.rank = arg1.readInt();
            this.playerId = arg1.readInt();
            this.name = arg1.readString();
            this.uid = arg1.readString();
            this.itemCode = arg1.readInt();
            this.score = arg1.readInt();
            this.jsStr = arg1.readString();
            this.createDt = arg1.readDate();
            this.itemCreateDt = arg1.readDate();
            return;
        }

        public /* var */id: number;

        public /* var */version: int;

        public /* var */type: int;

        public /* var */serverId: int;

        public /* var */proxyId: int;

        public /* var */rank: int;

        public /* var */playerId: int;

        public /* var */name: string;

        public /* var */uid: string;

        public /* var */itemCode: int;

        public /* var */score: int;

        public /* var */jsStr: string;

        public /* var */createDt: Date;

        public /* var */itemCreateDt: Date;
    }
